package com.example.springboottransaction.service;

import com.example.springboottransaction.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InvokeService {
    @Autowired
    private StudentService studentService;

    public Student addStudents(String name, String sex) {
        return studentService.addStudents(name, sex);
    }
}
